package Nisha.inheritance.packageA;

public class Parent {

	private String privateVar="Private";
	String defaultVar= "Default";
	protected String protectedVar ="Protected";
	public String publicVar="Public";
	
	public static void main(String[] args) {
		
		Parent p = new Parent();
		System.out.println(p.privateVar);// private variable available within the class
		
	}
	
	
	
}

